passthrough/stubdom: clean up hypercall privilege checking
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:04:03 +0000 (10:04 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:04:03 +0000 (10:04 +0100)
commit545a227dfc099af8b17b6842e097196192658c3e
tree032f432b459298c4071a3fbf3030b06f7fedd5d2
parent5dc1050805a0e379bcc273aa8b72db6aede34de5
passthrough/stubdom: clean up hypercall privilege checking

This patch adds securty checks for pci passthrough related hypercalls
to enforce that the current domain owns the resources that it is about
to remap. It also adds a call to xc_assign_device to xend and removes
the PRIVILEGED_STUBDOMS flags.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Config.mk
tools/python/xen/xend/server/pciif.py
xen/Rules.mk
xen/arch/x86/domctl.c
xen/arch/x86/irq.c
xen/arch/x86/physdev.c
xen/common/domctl.c
xen/include/xen/config.h